import axios from '@/request/http';

const generalStatement = {
  // 获取查询获取条件
  GetSearchCondition:function(stp,pid){
    return axios.post('/server/statistics/paid/load/search',{searchType:stp,projectId:pid});
  },
  // 获取月报表（缴费项目）
  GetMonthlyReportProject:function(pid,sid,stime,etime,qtp){
    return axios.post('/server/statistics/paid/project/item',{projectId:pid,schoolId:sid,startTime:stime,endTime:etime,queryType:qtp});
  },
  // 获取月份报表（支付方式）
  GetMonthlyReportPay:function(pid,sid,stime,etime,qtp){
    return axios.post('/server/statistics/paid/payment/method',{projectId:pid,schoolId:sid,startTime:stime,endTime:etime,queryType:qtp});
  }
}

export default generalStatement;
